import { createRouter, createWebHistory } from 'vue-router'
import { Guard } from '@/router/module/guard'
import { routes } from '@/router/module/router'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

Guard(router) // 路由守卫

export default router
